package com.cloudweb.oa.service;

import com.cloudweb.oa.entity.OaMessageDept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author fgf
 * @since 2024-05-31
 */
public interface IOaMessageDeptService extends IService<OaMessageDept> {

    OaMessageDept getByDeptCode(String deptCode);

    boolean setAgent(String deptCode, String agentDeptCode, Date agentDate);

    boolean cancelAgent(String deptCode);
}
